package com.guofen.dao;

import com.guofen.pojo.SjqDeodorizationRunningThree;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SjqDeodorizationRunningThreeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SjqDeodorizationRunningThree record);

    int insertSelective(SjqDeodorizationRunningThree record);

    SjqDeodorizationRunningThree selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SjqDeodorizationRunningThree record);

    int updateByPrimaryKey(SjqDeodorizationRunningThree record);

    SjqDeodorizationRunningThree findLast();

    List<SjqDeodorizationRunningThree> selectAll();

    List<SjqDeodorizationRunningThree> selectByDate(@Param("startDate") String startDate,
                                                  @Param("endDate") String endDate);
}